package com.dayuanit.dy15.ebook.bookshop.listener;

import org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent;
import org.springframework.context.ApplicationListener;

public class EShopBannerApplicationListener implements ApplicationListener<ApplicationEnvironmentPreparedEvent> {

    @Override
    public void onApplicationEvent(ApplicationEnvironmentPreparedEvent applicationEnvironmentPreparedEvent) {
        System.out.println("      _                               _ _              _                 \n" +
                "     | |                             (_) |            | |                \n" +
                "   __| | __ _ _   _ _   _  __ _ _ __  _| |_ ______ ___| |__   ___  _ __  \n" +
                "  / _` |/ _` | | | | | | |/ _` | '_ \\| | __|______/ __| '_ \\ / _ \\| '_ \\ \n" +
                " | (_| | (_| | |_| | |_| | (_| | | | | | |_       \\__ \\ | | | (_) | |_) |\n" +
                "  \\__,_|\\__,_|\\__, |\\__,_|\\__,_|_| |_|_|\\__|      |___/_| |_|\\___/| .__/ \n" +
                "               __/ |                                              | |    \n" +
                "              |___/                                               |_|    ");
    }
}
